package io.renren.modules.repair.dao;

import io.renren.modules.repair.entity.ManifestVO;
import io.renren.modules.repair.mapper.ManifestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author zyzhao
 * @date 2022年04月17日 22:52
 */

@Repository
public class ManifestDao {
    
    private final ManifestMapper manifestMapper;
    
    @Autowired
    public ManifestDao(ManifestMapper manifestMapper) {
        this.manifestMapper = manifestMapper;
    }
    
    public List<Map<String, Object>> getManifestVoByRepairId(Integer repairId){
        return manifestMapper.selectManifestByRepairId(repairId);
    }
}
